package com.zt.teacher.service.impl;

import cn.hutool.log.Log;
import cn.hutool.log.LogFactory;
import com.zt.common.Do.OriginStudentDO;
import com.zt.common.pojo.origin.OriginStudent;
import com.zt.teacher.dao.OriginStudentDao;
import com.zt.teacher.service.OriginStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * description:
 * author:zt
 * date:2022-01-04
 */
@Service
@Transactional
public class OriginStudentServiceImpl implements OriginStudentService {

    @Autowired
    private OriginStudentDao originStudentDao;

    @Override
    public OriginStudent getOriginStuById(String studentId) {
        return originStudentDao.getOriginStuById(studentId);
    }

    @Override
    public List<OriginStudentDO> getStudentsById(List<String> studentIds) {
        return originStudentDao.getStudentsById(studentIds);
    }

}
